').addClass(moduleName+'-settings-block menu-section').prop('id',moduleName+'-settings-block').data('module',module).append($settingsTitle,$settingsText);$settingsMenuItems.append($settingsLink);$settingsLink.on('click',function(){var $this=$(this);$this.data('module').render();languageSettings.position();$settingsMenuItems.find('.menu-section').removeClass('active');$this.addClass('active');});if(active){module.render();$settingsLink.addClass('active');}},position:function(){var top,pos,left;pos=$.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});top=this.top||pos.top+pos.height;left=this.left||'25%';this.$window.css({top:top,left:left});this.$window.scrollIntoView();},show:function(){if(!this.initialized){this.render();this.initialized=true;}this.$window.i18n();this.shown=true;this.$window.show();this.$window.find('.input-settings-block.active').
click();this.position();this.visible();},visible:function(){if(this.options.onVisible){this.options.onVisible.call(this);}},hide:function(){this.shown=false;this.$window.hide();},close:function(){this.hide();if(this.options.onClose){this.options.onClose();}},click:function(){if(this.shown){this.hide();}else{this.show();}}};$.fn.languagesettings=function(option){return this.each(function(){var $this=$(this),data=$this.data('languagesettings'),options=typeof option==='object'&&option;if(!data){$this.data('languagesettings',(data=new LanguageSettings(this,options)));}if(typeof option==='string'){data[option]();}});};$.fn.languagesettings.modules={};$.fn.languagesettings.defaults={template:windowTemplate,defaultModule:false,onClose:null,top:null,left:null,onVisible:null};$.fn.languagesettings.Constructor=LanguageSettings;}(jQuery));;},{"css":[
".uls-menu h3{border-bottom:medium none;font-size:14pt;line-height:1.5em;margin-bottom:10px;margin-top:0;padding-left:0}#languagesettings-panels .languagesettings-menu{padding-left:0;padding-right:0}.languagesettings-menu .settings-title{font-size:13pt}.languagesettings-menu h1{font-size:16pt;line-height:20pt;margin-top:0;font-weight:normal;border:none;padding:15px 0 3px 15px;color:#555}.language-settings-buttons{text-align:right}#languagesettings-settings-panel{padding-left:5%;color:#252525;background:#FFFFFF;border-bottom-right-radius:5px}#languagesettings-settings-panel h3{color:#252525;padding-top:15px;margin-top:1pt;line-height:20pt;font-size:16pt}#languagesettings-settings-panel h4{color:#252525;font-size:12pt}#languagesettings-settings-panel h5{color:#252525;font-size:10pt} .menu-section{color:#777;padding:5px 0 5px 50px;border-left:3px solid transparent;display:block;font-size:12pt}#language-settings-dialog{background:#FBFBFB}.uls-language-settings-close-block{background:#FFFFFF;border-top-right-radius:5px}#languagesettings-panels .menu-section.active,#languagesettings-panels .menu-section.active:hover{color:black;background-color:#F0F0F0;border-left-color:#3366BB}#input-settings-block.menu-section,#display-settings-block.menu-section{background-position:6% 6px;padding-left:40px;cursor:pointer}#input-settings-block.menu-section:hover,#display-settings-block.menu-section:hover{background-color:#F5F5F5}#languagesettings-settings-panel .language-settings-buttons{border-top:1px solid #F0F0F0;margin-top:25px;padding:15px;width:auto}.language-settings-buttons button{margin-left:15px}.uls-ui-languages p,.checkbox{color:#555555;font-size:10pt}.checkbox input[type=\"checkbox\"]{margin-left:0}.checkbox strong{color:#252525}label.checkbox input[type=\"checkbox\"]{float:left}\n/* cache key: enwiki:resourceloader:filter:minify-css:7:7520fb26c50f02c66d8a23489594c8a8 */"
]},{});mw.loader.implement("ext.uls.preferences",function(){(function($,mw,undefined){'use strict';var ULSPreferences,cachedOptionsToken=null;function saveOptionsWithToken(params,ok,err){if(cachedOptionsToken===null){return getOptionsToken(function(token){params.token=token;new mw.Api().post(params,ok,err);},err);}else{params.token=cachedOptionsToken;return new mw.Api().post(params,{ok:ok,err:function(code,result){if(code==='badtoken'){cachedOptionsToken=null;saveOptionsWithToken(params,ok,err);}else{err(code,result);}}});}}function getOptionsToken(tokenCallback,err){return new mw.Api().get({action:'tokens',type:'options'},{ok:function(data){var token;if(data.tokens&&data.tokens.optionstoken){token=data.tokens.optionstoken;cachedOptionsToken=token;tokenCallback(token);}else{err('token-missing',data);}},err:err,jsonp:false});}ULSPreferences=function(){this.preferenceName='uls-preferences';this.username=mw.user.getName();this.isAnon=mw.user.isAnon();this.preferences=null;this.init();};
ULSPreferences.prototype={init:function(){if(this.isAnon){this.preferences=$.jStorage.get(this.preferenceName);}else{var options=mw.user.options.get(this.preferenceName);this.preferences=$.parseJSON(options);}this.preferences=this.preferences||{};},set:function(key,value){this.preferences[key]=value;},get:function(key){return this.preferences[key];},save:function(callback){var ulsPreferences=this;callback=callback||$.noop;if(this.isAnon){$.jStorage.set(this.preferenceName,this.preferences);callback.call(this,true);}else{saveOptionsWithToken({action:'options',optionname:ulsPreferences.preferenceName,optionvalue:$.toJSON(ulsPreferences.preferences)},function(){callback.call(this,true);},function(){callback.call(this,false);});}}};mw.uls=mw.uls||{};mw.uls.preferences=function(){var data=$('body').data('preferences');if(!data){$('body').data('preferences',(data=new ULSPreferences()));}return data;};}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.uls.webfonts",function(){(function($
,mw,undefined){'use strict';var mediawikiFontRepository,ulsPreferences;mw.webfonts=mw.webfonts||{};ulsPreferences=mw.uls.preferences();mw.webfonts.preferences={registry:{fonts:{}},setFont:function(language,font){this.registry.fonts[language]=font;},getFont:function(language){return this.registry.fonts[language];},save:function(callback){ulsPreferences.set('webfonts',this.registry);ulsPreferences.save(callback);},load:function(){mw.webfonts.preferences.registry=$.extend(this.registry,ulsPreferences.get('webfonts'));}};mediawikiFontRepository=$.webfonts.repository;mediawikiFontRepository.base=mw.config.get('wgExtensionAssetsPath')+'/UniversalLanguageSelector/data/fontrepo/fonts/';mw.webfonts.setup=function(){$.fn.webfonts.defaults=$.extend($.fn.webfonts.defaults,{fontSelector:function(repository,language){var font;font=mw.webfonts.preferences.getFont(language);if(!font){font=repository.defaultFont(language);}if(font==='system'){font=null;}return font;},exclude:(function(){if(mw.user.
options.get('editfont')!=='default'){return'textarea';}return $.fn.webfonts.defaults.exclude;}())});$('body').webfonts();};$(document).ready(function(){mw.uls.init(function(){$.extend($.fn.webfonts.defaults,{repository:mediawikiFontRepository,fontStack:new Array($('body').css('font-family'))});mw.webfonts.preferences.load();mw.webfonts.setup();});});}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.uls.webfonts.repository",function(){(function($){$.webfonts=$.webfonts||{};$.webfonts.repository={"base":"..\/data\/fontrepo\/fonts\/","languages":{"af":["system","OpenDyslexic"],"ahr":["Lohit Marathi"],"akk":["Akkadian"],"am":["AbyssinicaSIL"],"ar":["Amiri"],"arb":["Amiri"],"arc":["Estarngelo Edessa","East Syriac Adiabene","SertoUrhoy"],"as":["system","Lohit Assamese"],"bh":["Lohit Devanagari"],"bho":["Lohit Devanagari"],"bk":["system","OpenDyslexic"],"bn":["Siyam Rupali","Lohit Bengali"],"bo":["Jomolhari"],"bpy":["Siyam Rupali","Lohit Bengali"],"bug":["Saweri"],"ca":["system",
"OpenDyslexic"],"cdo":["CharisSIL"],"cr":["system","OskiEast"],"cy":["system","OpenDyslexic"],"da":["system","OpenDyslexic"],"de":["system","OpenDyslexic"],"dv":["FreeFont-Thaana"],"dz":["Jomolhari"],"en":["system","OpenDyslexic"],"es":["system","OpenDyslexic"],"et":["system","OpenDyslexic"],"fa":["system","Iranian Sans","Amiri"],"fi":["system","OpenDyslexic"],"fo":["system","OpenDyslexic"],"fr":["system","OpenDyslexic"],"fy":["system","OpenDyslexic"],"ga":["system","OpenDyslexic"],"gd":["system","OpenDyslexic"],"gl":["system","OpenDyslexic"],"gom":["Lohit Devanagari"],"gu":["Lohit Gujarati"],"hbo":["Taamey Frank CLM","Alef"],"he":["system","Alef","Miriam CLM","Taamey Frank CLM"],"hi":["Lohit Devanagari"],"hu":["system","OpenDyslexic"],"id":["system","OpenDyslexic"],"is":["system","OpenDyslexic"],"it":["system","OpenDyslexic"],"iu":["system","OskiEast"],"jv":["system","Tuladha Jejeg"],"jv-java":["Tuladha Jejeg"],"km":["KhmerOSbattambang","KhmerOS","KhmerOSbokor","KhmerOSfasthand",
"KhmerOSfreehand","KhmerOSmuol","KhmerOSmuollight","KhmerOSmuolpali","KhmerOSsiemreap"],"kn":["Lohit Kannada","Gubbi"],"kok":["Lohit Devanagari"],"lb":["system","OpenDyslexic"],"li":["system","OpenDyslexic"],"mai":["Lohit Devanagari"],"mak":["Saweri"],"mi":["system","OpenDyslexic"],"ml":["system","AnjaliOldLipi","Meera"],"mr":["Lohit Marathi"],"ms":["system","OpenDyslexic"],"my":["TharLon","Myanmar3","Padauk"],"nan":["Doulos SIL","CharisSIL"],"nb":["system","OpenDyslexic"],"ne":["Lohit Nepali","Madan"],"nl":["system","OpenDyslexic"],"oc":["system","OpenDyslexic"],"or":["Lohit Oriya","Utkal"],"pa":["Lohit Punjabi","Saab"],"pt":["system","OpenDyslexic"],"sa":["Lohit Devanagari"],"saz":["Pagul"],"sq":["system","OpenDyslexic"],"sux":["Akkadian"],"sv":["system","OpenDyslexic"],"sw":["system","OpenDyslexic"],"syc":["Estarngelo Edessa","East Syriac Adiabene","SertoUrhoy"],"ta":["system","Lohit Tamil","Lohit Tamil Classical","Thendral","Thenee"],"tcy":["Lohit Kannada","Gubbi"],"te":[
"Lohit Telugu"],"ti":["AbyssinicaSIL"],"tl":["system","OpenDyslexic"],"tr":["system","OpenDyslexic"],"ur":["system","NafeesWeb"],"wa":["system","OpenDyslexic"],"yi":["system","Alef"]},"fonts":{"AbyssinicaSIL":{"version":"1.200","license":"OFL 1.1","eot":"AbyssinicaSIL\/AbyssinicaSIL-R.eot","ttf":"AbyssinicaSIL\/AbyssinicaSIL-R.ttf","woff":"AbyssinicaSIL\/AbyssinicaSIL-R.woff"},"Akkadian":{"version":"2.56","license":"George-Douros","eot":"Akkadian\/Akkadian.eot","ttf":"Akkadian\/Akkadian.ttf","woff":"Akkadian\/Akkadian.woff"},"Alef":{"version":"1.0","license":"OFL 1.1","ttf":"Alef\/Alef-Regular.ttf","eot":"Alef\/Alef-Regular.eot","woff":"Alef\/Alef-Regular.woff","variants":{"bold":"Alef Bold"}},"Alef Bold":{"version":"1.0","license":"OFL 1.1","fontweight":"bold","ttf":"Alef\/Alef-Bold.ttf","eot":"Alef\/Alef-Bold.eot","woff":"Alef\/Alef-Bold.woff"},"Amiri":{"version":"1.0.2","license":"OFL 1.1","ttf":"amiri\/amiri-regular.ttf","eot":"amiri\/amiri-regular.eot","woff":
"amiri\/amiri-regular.woff","variants":{"bold":"Amiri Bold","bolditalic":"Amiri Bold Italic","italic":"Amiri Italic"}},"Amiri Bold":{"version":"1.0.2","license":"OFL 1.1","fontweight":"bold","ttf":"amiri\/amiri-bold.ttf","eot":"amiri\/amiri-bold.eot","woff":"amiri\/amiri-bold.woff"},"Amiri Bold Italic":{"version":"1.0.2","license":"OFL 1.1","fontweight":"bold","fontstyle":"italic","ttf":"amiri\/amiri-boldslanted.ttf","eot":"amiri\/amiri-boldslanted.eot","woff":"amiri\/amiri-boldslanted.woff"},"Amiri Italic":{"version":"1.0.2","license":"OFL 1.1","fontstyle":"italic","ttf":"amiri\/amiri-slanted.ttf","eot":"amiri\/amiri-slanted.eot","woff":"amiri\/amiri-slanted.woff"},"AnjaliOldLipi":{"version":".0.730","license":"OFL 1.1","eot":"AnjaliOldLipi\/AnjaliOldLipi.eot","ttf":"AnjaliOldLipi\/AnjaliOldLipi.ttf","woff":"AnjaliOldLipi\/AnjaliOldLipi.woff"},"CharisSIL":{"version":"4.011","license":"OFL 1.1","eot":"CharisSIL\/CharisSIL-R.eot","ttf":"CharisSIL\/CharisSIL-R.ttf","woff":
"CharisSIL\/CharisSIL-R.woff"},"Doulos SIL":{"version":"4.112","license":"OFL 1.1","eot":"DoulosSIL\/DoulosSIL-R.eot","ttf":"DoulosSIL\/DoulosSIL-R.ttf","woff":"DoulosSIL\/DoulosSIL-R.woff"},"East Syriac Adiabene":{"version":"1.21","license":"East Syriac Adiabene License","eot":"EastSyriacAdiabene\/SyrCOMAdiabene.eot","ttf":"EastSyriacAdiabene\/SyrCOMAdiabene.ttf","woff":"EastSyriacAdiabene\/SyrCOMAdiabene.woff"},"Estarngelo Edessa":{"version":"1.21","license":"Estarngelo Edessa License","eot":"EstarngeloEdessa\/SyrCOMEdessa.eot","ttf":"EstarngeloEdessa\/SyrCOMEdessa.ttf","woff":"EstarngeloEdessa\/SyrCOMEdessa.woff"},"FreeFont-Thaana":{"version":"1.0","license":"GPL 3","ttf":"FreeFontThana\/FreeFont-Thaana.ttf","eot":"FreeFontThana\/FreeFont-Thaana.eot","woff":"FreeFontThana\/FreeFont-Thaana.woff","variants":{"bold":"FreeFont-Thaana Bold"}},"FreeFont-Thaana Bold":{"version":"1.0","license":"GPL 3","fontweight":"bold","ttf":"FreeFontThana\/FreeFont-Thaana-Bold.ttf","eot":
"FreeFontThana\/FreeFont-Thaana-Bold.eot","woff":"FreeFontThana\/FreeFont-Thaana-Bold.woff"},"Gubbi":{"version":"1.3","license":"GPLv3+","eot":"Gubbi\/Gubbi.eot","ttf":"Gubbi\/Gubbi.ttf","woff":"Gubbi\/Gubbi.woff"},"Iranian Sans":{"version":"1.0","license":"IranianSans","eot":"IranianSans\/IranianSans.eot","ttf":"IranianSans\/IranianSans.ttf","woff":"IranianSans\/IranianSans.woff"},"Jomolhari":{"version":"0.003","license":"OFL 1.1","eot":"Jomolhari\/Jomolhari.eot","ttf":"Jomolhari\/Jomolhari.ttf","woff":"Jomolhari\/Jomolhari.woff"},"KhmerOS":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOS\/KhmerOS.eot","ttf":"KhmerOS\/KhmerOS.ttf","woff":"KhmerOS\/KhmerOS.woff"},"KhmerOSbattambang":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSbattambang\/KhmerOSbattambang.eot","ttf":"KhmerOSbattambang\/KhmerOSbattambang.ttf","woff":"KhmerOSbattambang\/KhmerOSbattambang.woff"},"KhmerOSbokor":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSbokor\/KhmerOSbokor.eot","ttf":
"KhmerOSbokor\/KhmerOSbokor.ttf","woff":"KhmerOSbokor\/KhmerOSbokor.woff"},"KhmerOSfasthand":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSfasthand\/KhmerOSfasthand.eot","ttf":"KhmerOSfasthand\/KhmerOSfasthand.ttf","woff":"KhmerOSfasthand\/KhmerOSfasthand.woff"},"KhmerOSfreehand":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSfreehand\/KhmerOSfreehand.eot","ttf":"KhmerOSfreehand\/KhmerOSfreehand.ttf","woff":"KhmerOSfreehand\/KhmerOSfreehand.woff"},"KhmerOSmuol":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuol\/KhmerOSmuol.eot","ttf":"KhmerOSmuol\/KhmerOSmuol.ttf","woff":"KhmerOSmuol\/KhmerOSmuol.woff"},"KhmerOSmuollight":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuollight\/KhmerOSmuollight.eot","ttf":"KhmerOSmuollight\/KhmerOSmuollight.ttf","woff":"KhmerOSmuollight\/KhmerOSmuollight.woff"},"KhmerOSmuolpali":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuolpali\/KhmerOSmuolpali.eot","ttf":"KhmerOSmuolpali\/KhmerOSmuolpali.ttf","woff":
"KhmerOSmuolpali\/KhmerOSmuolpali.woff"},"KhmerOSsiemreap":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSsiemreap\/KhmerOSsiemreap.eot","ttf":"KhmerOSsiemreap\/KhmerOSsiemreap.ttf","woff":"KhmerOSsiemreap\/KhmerOSsiemreap.woff"},"Linux Libertine":{"version":"5.3.0","license":"OFL 1.1","ttf":"LinuxLibertine\/LinLibertine_Rah.ttf","eot":"LinuxLibertine\/LinLibertine_Rah.eot","woff":"LinuxLibertine\/LinLibertine_Rah.woff","variants":{"bold":"Linux Libertine Bold","bolditalic":"Linux Libertine Bold Italic","italic":"Linux Libertine Italic"}},"Linux Libertine Bold":{"version":"5.3.0","license":"OFL 1.1","fontweight":"bold","ttf":"LinuxLibertine\/LinLibertine_RBah.ttf","eot":"LinuxLibertine\/LinLibertine_RBah.eot","woff":"LinuxLibertine\/LinLibertine_RBah.woff"},"Linux Libertine Bold Italic":{"version":"5.3.0","license":"OFL 1.1","fontweight":"bold","fontstyle":"italic","ttf":"LinuxLibertine\/LinLibertine_RBIah.ttf","eot":"LinuxLibertine\/LinLibertine_RBIah.eot","woff":
"LinuxLibertine\/LinLibertine_RBIah.woff"},"Linux Libertine Italic":{"version":"5.3.0","license":"OFL 1.1","fontstyle":"italic","ttf":"LinuxLibertine\/LinLibertine_RIah.ttf","eot":"LinuxLibertine\/LinLibertine_RIah.eot","woff":"LinuxLibertine\/LinLibertine_RIah.woff"},"Lohit Assamese":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitAssamese\/Lohit-Assamese.eot","ttf":"LohitAssamese\/Lohit-Assamese.ttf","woff":"LohitAssamese\/Lohit-Assamese.woff"},"Lohit Bengali":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitBengali\/Lohit-Bengali.eot","ttf":"LohitBengali\/Lohit-Bengali.ttf","woff":"LohitBengali\/Lohit-Bengali.woff"},"Lohit Devanagari":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitDevanagari\/Lohit-Devanagari.eot","ttf":"LohitDevanagari\/Lohit-Devanagari.ttf","woff":"LohitDevanagari\/Lohit-Devanagari.woff"},"Lohit Gujarati":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitGujarati\/Lohit-Gujarati.eot","ttf":"LohitGujarati\/Lohit-Gujarati.ttf","woff":
"LohitGujarati\/Lohit-Gujarati.woff"},"Lohit Kannada":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitKannada\/Lohit-Kannada.eot","ttf":"LohitKannada\/Lohit-Kannada.ttf","woff":"LohitKannada\/Lohit-Kannada.woff"},"Lohit Marathi":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitMarathi\/Lohit-Marathi.eot","ttf":"LohitMarathi\/Lohit-Marathi.ttf","woff":"LohitMarathi\/Lohit-Marathi.woff"},"Lohit Nepali":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitNepali\/Lohit-Nepali.eot","ttf":"LohitNepali\/Lohit-Nepali.ttf","woff":"LohitNepali\/Lohit-Nepali.woff"},"Lohit Oriya":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitOriya\/Lohit-Oriya.eot","ttf":"LohitOriya\/Lohit-Oriya.ttf","woff":"LohitOriya\/Lohit-Oriya.woff"},"Lohit Punjabi":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitPunjabi\/Lohit-Punjabi.eot","ttf":"LohitPunjabi\/Lohit-Punjabi.ttf","woff":"LohitPunjabi\/Lohit-Punjabi.woff"},"Lohit Tamil":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitTamil\/Lohit-Tamil.eot",
"ttf":"LohitTamil\/Lohit-Tamil.ttf","woff":"LohitTamil\/Lohit-Tamil.woff"},"Lohit Tamil Classical":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitTamilClassical\/Lohit-Tamil-Classical.eot","ttf":"LohitTamilClassical\/Lohit-Tamil-Classical.ttf","woff":"LohitTamilClassical\/Lohit-Tamil-Classical.woff"},"Lohit Telugu":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitTelugu\/Lohit-Telugu.eot","ttf":"LohitTelugu\/Lohit-Telugu.ttf","woff":"LohitTelugu\/Lohit-Telugu.woff"},"Madan":{"version":"2","license":"GPL","eot":"madan\/madan.eot","ttf":"madan\/madan.ttf","woff":"madan\/madan.woff"},"Meera":{"version":"5.0.1","license":"GPL 3+ with exceptions","eot":"Meera\/Meera.eot","ttf":"Meera\/Meera.ttf","woff":"Meera\/Meera.woff"},"Miriam CLM":{"version":"0.105","license":"GPL2+","eot":"MiriamCLM\/MiriamCLM-Book.eot","ttf":"MiriamCLM\/MiriamCLM-Book.ttf","woff":"MiriamCLM\/MiriamCLM-Book.woff"},"Myanmar3":{"version":"3.0","license":"LGPL 2.1+","eot":"Myanmar3\/Myanmar3.eot","ttf":
"Myanmar3\/Myanmar3.ttf","woff":"Myanmar3\/Myanmar3.woff"},"NafeesWeb":{"version":"1.2","license":"GPL-2","eot":"NafeesWeb\/NafeesWeb.eot","ttf":"NafeesWeb\/NafeesWeb.ttf","woff":"NafeesWeb\/NafeesWeb.woff"},"OpenDyslexic":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","ttf":"OpenDyslexic\/opendyslexic.ttf","eot":"OpenDyslexic\/opendyslexic.eot","woff":"OpenDyslexic\/opendyslexic.woff","variants":{"bold":"OpenDyslexic Bold","italic":"OpenDyslexic Italic"}},"OpenDyslexic Bold":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","fontweight":"bold","ttf":"OpenDyslexic\/opendyslexic-bold.ttf","eot":"OpenDyslexic\/opendyslexic-bold.eot","woff":"OpenDyslexic\/opendyslexic-bold.woff"},"OpenDyslexic Italic":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","fontstyle":"italic","ttf":"OpenDyslexic\/opendyslexic-italic.ttf","eot":"OpenDyslexic\/opendyslexic-italic.eot","woff":
"OpenDyslexic\/opendyslexic-italic.woff"},"OskiEast":{"version":"2.200","license":"GPL-3","ttf":"OskiEast\/oskie.ttf","eot":"OskiEast\/oskie.eot","woff":"OskiEast\/oskie.woff","variants":{"bold":"OskiEast Bold","bolditalic":"OskiEast Bold Italic","italic":"OskiEast Italic"}},"OskiEast Bold":{"version":"2.200","license":"GPL-3","fontweight":"bold","ttf":"OskiEast\/oskiebold.ttf","eot":"OskiEast\/oskiebold.eot","woff":"OskiEast\/oskiebold.woff"},"OskiEast Bold Italic":{"version":"2.200","license":"GPL-3","fontweight":"bold","fontstyle":"italic","ttf":"OskiEast\/oskiebolditalic.ttf","eot":"OskiEast\/oskiebolditalic.eot","woff":"OskiEast\/oskiebolditalic.woff"},"OskiEast Italic":{"version":"2.200","license":"GPL-3","fontstyle":"italic","ttf":"OskiEast\/oskieitalic.ttf","eot":"OskiEast\/oskieitalic.eot","woff":"OskiEast\/oskieitalic.woff"},"Padauk":{"version":"2.8","license":"OFL 1.1","eot":"Padauk\/Padauk-Regular.eot","ttf":"Padauk\/Padauk-Regular.ttf","woff":"Padauk\/Padauk-Regular.woff"}
,"Pagul":{"version":"1.0","license":"GPL 3 with exceptions","eot":"Pagul\/Pagul.eot","ttf":"Pagul\/Pagul.ttf","woff":"Pagul\/Pagul.woff"},"Saab":{"version":"0.91","license":"GPLv2+ with exceptions","eot":"Saab\/Saab.eot","ttf":"Saab\/Saab.ttf","woff":"Saab\/Saab.woff"},"Saweri":{"version":"2","license":"GPL3","eot":"saweri\/saweri.eot","ttf":"saweri\/saweri.ttf","woff":"saweri\/saweri.woff"},"SertoUrhoy":{"version":"1.20","license":"SertoUrhoy License","eot":"SertoUrhoy\/SyrCOMUrhoy.eot","ttf":"SertoUrhoy\/SyrCOMUrhoy.ttf","woff":"SertoUrhoy\/SyrCOMUrhoy.woff"},"Siyam Rupali":{"version":"1.070","license":"GPL3","eot":"SiyamRupali\/SiyamRupali.eot","ttf":"SiyamRupali\/SiyamRupali.ttf","woff":"SiyamRupali\/SiyamRupali.woff"},"Taamey Frank CLM":{"version":"0.110","license":"GPL2+","eot":"TaameyFrankCLM\/TaameyFrankCLM.eot","ttf":"TaameyFrankCLM\/TaameyFrankCLM.ttf","woff":"TaameyFrankCLM\/TaameyFrankCLM.woff"},"TharLon":{"version":"1.0","license":"OFL 1.1","eot":"TharLon\/TharLon.eot",
"ttf":"TharLon\/TharLon.ttf","woff":"TharLon\/TharLon.woff"},"Thendral":{"version":"1.0","license":"GPL 2","eot":"Thendral\/ThendralUni.eot","ttf":"Thendral\/ThendralUni.ttf","woff":"Thendral\/ThendralUni.woff"},"Thenee":{"version":"1.0","license":"GPL 2","eot":"Thenee\/TheneeUni.eot","ttf":"Thenee\/TheneeUni.ttf","woff":"Thenee\/TheneeUni.woff"},"Tuladha Jejeg":{"version":"1.92","license":"OFL 1.1","eot":"TuladhaJejeg\/TuladhaJejeg_gr.eot","ttf":"TuladhaJejeg\/TuladhaJejeg_gr.ttf","woff":"TuladhaJejeg\/TuladhaJejeg_gr.woff"},"UnifrakturMaguntia":{"version":"2012-10-19","license":"OFL 1.1","ttf":"UnifrakturMaguntia\/UnifrakturMaguntia.ttf","eot":"UnifrakturMaguntia\/UnifrakturMaguntia.eot","woff":"UnifrakturMaguntia\/UnifrakturMaguntia.woff"},"Utkal":{"version":"0.13","license":"GPL","eot":"utkal\/utkal.eot","ttf":"utkal\/utkal.ttf","woff":"utkal\/utkal.woff"}}};}(jQuery));;},{},{});mw.loader.implement("ext.wikimediaShopLink.core",function(){jQuery(document).ready(function($){
'use strict';var userCountry=window.Geo&&window.Geo.country,shopCountries=mw.config.get('wmfshopLinkCountries',[]),hasNavPortal=$('#p-navigation').length;if(hasNavPortal&&$.inArray(userCountry,shopCountries)!==-1){mw.util.addPortletLink('p-navigation',mw.config.get('wmfshopLinkTarget'),mw.msg('wikimediashoplink-linktext'),'n-shoplink',mw.msg('wikimediashoplink-link-tooltip'));}});;},{},{"wikimediashoplink-linktext":"Wikimedia Shop","wikimediashoplink-link-tooltip":"Visit the Wikimedia Shop"});mw.loader.implement("jquery.client",function(){(function($){var profileCache={};$.client={profile:function(nav){if(nav===undefined){nav=window.navigator;}if(profileCache[nav.userAgent]===undefined){var versionNumber,uk='unknown',x='x',wildUserAgents=['Opera','Navigator','Minefield','KHTML','Chrome','PLAYSTATION 3','Iceweasel'],userAgentTranslations=[[/(Firefox|MSIE|KHTML,?\slike\sGecko|Konqueror)/,''],['Chrome Safari','Chrome'],['KHTML','Konqueror'],['Minefield','Firefox'],['Navigator','Netscape']
,['PLAYSTATION 3','PS3']],versionPrefixes=['camino','chrome','firefox','iceweasel','netscape','netscape6','opera','version','konqueror','lynx','msie','safari','ps3','android'],versionSuffix='(\\/|\\;?\\s|)([a-z0-9\\.\\+]*?)(\\;|dev|rel|\\)|\\s|$)',names=['camino','chrome','firefox','iceweasel','netscape','konqueror','lynx','msie','opera','safari','ipod','iphone','blackberry','ps3','rekonq','android'],nameTranslations=[],layouts=['gecko','konqueror','msie','trident','opera','webkit'],layoutTranslations=[['konqueror','khtml'],['msie','trident'],['opera','presto']],layoutVersions=['applewebkit','gecko','trident'],platforms=['win','wow64','mac','linux','sunos','solaris','iphone'],platformTranslations=[['sunos','solaris'],['wow64','win']],translate=function(source,translations){var i;for(i=0;i
400){version='2.0';}if(name==='opera'&&version>=9.8){match=ua.match(/\bversion\/([0-9\.]*)/);if(match&&match[1]){version=match[1];}else{version='10';}}if(name==='chrome'&&(match=ua.match(/\bopr\/([0-9\.]*)/))){if(match[1]){name='opera';version=match[1];}}if(layout==='trident'&&layoutversion>=7&&(match=ua.match(
/\brv[ :\/]([0-9\.]*)/))){if(match[1]){name='msie';version=match[1];}}versionNumber=parseFloat(version,10)||0.0;profileCache[nav.userAgent]={name:name,layout:layout,layoutVersion:layoutversion,platform:platform,version:version,versionBase:(version!==x?Math.floor(versionNumber).toString():x),versionNumber:versionNumber};}return profileCache[nav.userAgent];},test:function(map,profile,exactMatchOnly){var conditions,dir,i,op,val;profile=$.isPlainObject(profile)?profile:$.client.profile();if(map.ltr&&map.rtl){dir=$('body').is('.rtl')?'rtl':'ltr';map=map[dir];}if(typeof map!=='object'||map[profile.name]===undefined){return!exactMatchOnly;}conditions=map[profile.name];if(conditions===false){return false;}if(conditions===null){return true;}for(i=0;i1&&(!/Object/.test(Object.prototype.toString.call(value))||value===null||value===undefined)){options=$.extend({},options);if(value===null||value===undefined){options.expires=-1;}if(typeof options.expires==='number'){var days=options.expires,t=options.expires=new Date();t.setDate(t.getDate()+days);}value=String(value);return(document.cookie=[encodeURIComponent(key),'=',options.raw?value:encodeURIComponent(value),options.expires?'; expires='+options.expires.toUTCString():'',options.path?'; path='+options.path:'',options.domain?'; domain='+options.domain:'',options.secure?'; secure':''].join(''));}options=value||{};var decode=options.raw?function(s){return s;}:decodeURIComponent;var pairs=document.cookie.split('; ');for(var i=0,pair;pair=pairs[i]&&pairs[i].split('=');i++){if(decode(pair[0])===key)return decode(pair[1]||'');}return null;};})(jQuery);
;},{},{});mw.loader.implement("jquery.delayedBind",function(){(function($){function encodeEvent(event){return event.replace(/-/g,'--').replace(/ /g,'-');}$.fn.extend({delayedBind:function(timeout,event,data,callback){if(arguments.length===3){callback=data;data=undefined;}var encEvent=encodeEvent(event);return this.each(function(){var that=this;if(!($(this).data('_delayedBindBound-'+encEvent+'-'+timeout))){$(this).data('_delayedBindBound-'+encEvent+'-'+timeout,true);$(this).bind(event,function(){var timerID=$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout);if(timerID!==null){clearTimeout(timerID);}timerID=setTimeout(function(){$(that).trigger('_delayedBind-'+encEvent+'-'+timeout);},timeout);$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout,timerID);});}$(this).bind('_delayedBind-'+encEvent+'-'+timeout,data,callback);});},delayedBindCancel:function(timeout,event){var encEvent=encodeEvent(event);return this.each(function(){var timerID=$(this).data('_delayedBindTimerID-'+
encEvent+'-'+timeout);if(timerID!==null){clearTimeout(timerID);}});},delayedBindUnbind:function(timeout,event,callback){var encEvent=encodeEvent(event);return this.each(function(){$(this).unbind('_delayedBind-'+encEvent+'-'+timeout,callback);});}});}(jQuery));;},{},{});mw.loader.implement("jquery.i18n",function(){(function($){'use strict';var nav,slice=Array.prototype.slice;var I18N=function(options){this.options=$.extend({},I18N.defaults,options);this.parser=this.options.parser;this.locale=this.options.locale;this.messageStore=this.options.messageStore;this.languages={};this.init();};I18N.prototype={init:function(){var i18n;i18n=this;i18n.messageStore.init(i18n.locale);String.locale=i18n.locale;String.prototype.toLocaleString=function(){var localeParts,messageLocation,localePartIndex,value,locale,fallbackIndex;value=this.valueOf();locale=i18n.locale;fallbackIndex=0;while(locale){localeParts=locale.toLowerCase().split('-');localePartIndex=localeParts.length;do{var _locale=localeParts.
slice(0,localePartIndex).join('-');if(i18n.options.messageLocationResolver){messageLocation=i18n.options.messageLocationResolver(_locale,value);if(messageLocation&&(!i18n.messageStore.isLoaded(_locale,messageLocation))){i18n.messageStore.load(messageLocation,_locale);}}var message=i18n.messageStore.get(_locale,value);if(message){return message;}localePartIndex--;}while(localePartIndex);if(locale==='en'){break;}locale=($.i18n.fallbacks[i18n.locale]&&$.i18n.fallbacks[i18n.locale][fallbackIndex])||i18n.options.fallbackLocale;i18n.log('Trying fallback locale for '+i18n.locale+': '+locale);fallbackIndex++;}return'';};},destroy:function(){$.removeData(document,'i18n');},load:function(data,locale){this.messageStore.load(data,locale);},log:function(){if(window.console&&$.i18n.debug){window.console.log.apply(window.console,arguments);}},parse:function(key,parameters){var message=key.toLocaleString();this.parser.language=$.i18n.languages[$.i18n().locale]||$.i18n.languages['default'];if(message
===''){message=key;}return this.parser.parse(message,parameters);}};$.i18n=function(key,param1){var parameters,i18n=$.data(document,'i18n'),options=typeof key==='object'&&key;if(options&&options.locale&&i18n&&i18n.locale!==options.locale){String.locale=i18n.locale=options.locale;}if(!i18n){i18n=new I18N(options);$.data(document,'i18n',i18n);}if(typeof key==='string'){if(param1!==undefined){parameters=slice.call(arguments,1);}else{parameters=[];}return i18n.parse(key,parameters);}else{return i18n;}};$.fn.i18n=function(){var i18n=$.data(document,'i18n');String.locale=i18n.locale;if(!i18n){i18n=new I18N();$.data(document,'i18n',i18n);}return this.each(function(){var $this=$(this);if($this.data('i18n')){var messageKey=$this.data('i18n'),message=messageKey.toLocaleString();if(message!==''){$this.text(message);}}else{$this.find('[data-i18n]').i18n();}});};String.locale=String.locale||$('html').attr('lang');if(!String.locale){if(typeof window.navigator!==undefined){nav=window.navigator;String
.locale=nav.language||nav.userLanguage||'';}else{String.locale='';}}$.i18n.languages={};$.i18n.messageStore=$.i18n.messageStore||{};$.i18n.parser={parse:function(message,parameters){return message.replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+match;});},emitter:{}};$.i18n.debug=false;I18N.defaults={locale:String.locale,fallbackLocale:'en',parser:$.i18n.parser,messageStore:$.i18n.messageStore,messageLocationResolver:null};$.I18N=I18N;}(jQuery));(function($){'use strict';var MessageParser=function(options){this.options=$.extend({},$.i18n.parser.defaults,options);this.language=$.i18n.languages[String.locale]||$.i18n.languages['default'];this.emitter=$.i18n.parser.emitter;};MessageParser.prototype={constructor:MessageParser,simpleParse:function(message,parameters){return message.replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+
match;});},parse:function(message,replacements){if(message.indexOf('{{')<0){return this.simpleParse(message,replacements);}this.emitter.language=$.i18n.languages[$.i18n().locale]||$.i18n.languages['default'];return this.emitter.emit(this.ast(message),replacements);},ast:function(message){var pos=0;function choice(parserSyntax){return function(){var i,result;for(i=0;i1?['CONCAT'].concat(expr):expr[0];}function templateWithReplacement(){var result=sequence([templateName,colon,replacement]);return result===null?null:[result[0],result[2]];}function templateWithOutReplacement(){var result=sequence([templateName,colon,paramExpression]);return result===null?null:[result[0],result[2]];}var templateContents=choice([function(){
var res=sequence([choice([templateWithReplacement,templateWithOutReplacement]),nOrMore(0,templateParam)]);return res===null?null:res[0].concat(res[1]);},function(){var res=sequence([templateName,nOrMore(0,templateParam)]);if(res===null){return null;}return[res[0]].concat(res[1]);}]);var openTemplate=makeStringParser('{{');var closeTemplate=makeStringParser('}}');function template(){var result=sequence([openTemplate,templateContents,closeTemplate]);return result===null?null:result[1];}var expression=choice([template,replacement,literal]);var paramExpression=choice([template,replacement,literalWithoutBar]);function start(){var result=nOrMore(0,expression)();if(result===null){return null;}return['CONCAT'].concat(result);}var result=start();if(result===null||pos!==message.length){throw new Error('Parse error at position '+pos.toString()+' in input: '+message);}return result;}};$.extend($.i18n.parser,new MessageParser());}(jQuery));(function($){'use strict';var MessageParserEmitter=function
(){this.language=$.i18n.languages[String.locale]||$.i18n.languages['default'];};MessageParserEmitter.prototype={constructor:MessageParserEmitter,emit:function(node,replacements){var ret,subnodes,operation,messageParserEmitter=this;switch(typeof node){case'string':case'number':ret=node;break;case'object':subnodes=$.map(node.slice(1),function(n){return messageParserEmitter.emit(n,replacements);});operation=node[0].toLowerCase();if(typeof messageParserEmitter[operation]==='function'){ret=messageParserEmitter[operation](subnodes,replacements);}else{throw new Error('unknown operation "'+operation+'"');}break;case'undefined':ret='';break;default:throw new Error('unexpected type in AST: '+typeof node);}return ret;},concat:function(nodes){var result='';$.each(nodes,function(i,node){result+=node;});return result;},replace:function(nodes,replacements){var index=parseInt(nodes[0],10);if(indexthis.inputmethod.contextLength){this.context=this.context.substring(this.context.length-this.inputmethod.contextLength);}if(!altGr&&replacement===input){return true;}divergingPos=this.firstDivergence(input,replacement);input=input.substring(divergingPos);replacement=replacement.substring(divergingPos);replaceText(this.$element,
replacement,startPos-input.length+1,endPos);e.stopPropagation();return false;},isActive:function(){return this.active;},disable:function(){this.active=false;$.ime.preferences.setIM('system');},enable:function(){this.active=true;},toggle:function(){this.active=!this.active;},destroy:function(){$('body').off('.ime');this.$element.off('.ime').removeData('ime').removeData('imeselector');},getIM:function(){return this.inputmethod;},setIM:function(inputmethodId){this.inputmethod=$.ime.inputmethods[inputmethodId];$.ime.preferences.setIM(inputmethodId);},setLanguage:function(languageCode){if(!$.ime.languages[languageCode]){debug('Language '+languageCode+' is not known to jquery.ime.');return false;}this.language=languageCode;$.ime.preferences.setLanguage(languageCode);return true;},getLanguage:function(){return this.language;},load:function(name,callback){var ime=this,dependency;if($.ime.inputmethods[name]){if(callback){callback.call(ime);}return true;}dependency=$.ime.sources[name].depends;if
(dependency){this.load(dependency);}$.ajax({url:ime.options.imePath+$.ime.sources[name].source,dataType:'script'}).done(function(){debug(name+' loaded');if(callback){callback.call(ime);}}).fail(function(jqxhr,settings,exception){debug('Error in loading inputmethod '+name+' Exception: '+exception);});},getCaretPosition:function($element){return getCaretPosition($element);},firstDivergence:function(a,b){return firstDivergence(a,b);},lastNChars:function(str,pos,n){return lastNChars(str,pos,n);}};$.fn.ime=function(option){return this.each(function(){var data,$this=$(this),options=typeof option==='object'&&option;if($this.prop('readonly')||$this.prop('disabled')||$this.hasClass('noime')){return;}data=$this.data('ime');if(!data){data=new IME(this,options);$this.data('ime',data);}if(typeof option==='string'){data[option]();}});};$.ime={};$.ime.inputmethods={};$.ime.sources={};$.ime.preferences={};$.ime.languages={};var defaultInputMethod={contextLength:0,maxKeyLength:1};$.ime.register=
function(inputMethod){$.ime.inputmethods[inputMethod.id]=$.extend({},defaultInputMethod,inputMethod);};$.ime.defaults={imePath:'../',languages:[],helpHandler:null};function debug($obj){if(window.console&&window.console.log){window.console.log($obj);}}function getCaretPosition($element){var el=$element.get(0),start=0,end=0,normalizedValue,range,textInputRange,len,newLines,endRange;if(typeof el.selectionStart==='number'&&typeof el.selectionEnd==='number'){start=el.selectionStart;end=el.selectionEnd;}else{range=document.selection.createRange();if(range&&range.parentElement()===el){len=el.value.length;normalizedValue=el.value.replace(/\r\n/g,'\n');newLines=normalizedValue.match(/\n/g);textInputRange=el.createTextRange();textInputRange.moveToBookmark(range.getBookmark());endRange=el.createTextRange();endRange.collapse(false);if(textInputRange.compareEndPoints('StartToEnd',endRange)>-1){if(newLines){start=end=len-newLines.length;}else{start=end=len;}}else{start=-textInputRange.moveStart(
'character',-len);if(textInputRange.compareEndPoints('EndToEnd',endRange)>-1){end=len;}else{end=-textInputRange.moveEnd('character',-len);}}}}return[start,end];}function rangeForElementIE(e){if(e.nodeName.toLowerCase()==='input'){return e.createTextRange();}else{var sel=document.body.createTextRange();sel.moveToElementText(e);return sel;}}function replaceText($element,replacement,start,end){var element=$element.get(0),selection,length,newLines,scrollTop;if(typeof element.selectionStart==='number'&&typeof element.selectionEnd==='number'){scrollTop=element.scrollTop;element.value=element.value.substring(0,start)+replacement+element.value.substring(end,element.value.length);element.scrollTop=scrollTop;element.selectionStart=element.selectionEnd=start+replacement.length;}else{selection=rangeForElementIE(element);length=element.value.length;newLines=element.value.match(/\n/g);if(newLines){length=length-newLines.length;}selection.moveStart('character',start);selection.moveEnd('character',end
-length);selection.text=replacement;selection.collapse(false);selection.select();}}function firstDivergence(a,b){var minLength,i;minLength=a.length